export const riskColor = (node) => {
  const { CC_WBS_PROGRESS_STATUS_ID } = node.valueMap
  if (CC_WBS_PROGRESS_STATUS_ID == 'TODO') {
    return 'todo'
  } else if (CC_WBS_PROGRESS_STATUS_ID == 'DOING') {
    return 'doing'
  } else if (CC_WBS_PROGRESS_STATUS_ID == 'DONE') {
    return 'done'
  } else if (CC_WBS_PROGRESS_STATUS_ID == 'OVER') {
    return 'over'
  }
}
